package shiyan1;

public class JuXing implements Shape{
    private double a;
    private double b;
    @Override
    public void calS() {
        System.out.println(a*b);
    }

    public JuXing(double a, double b) {
        this.a = a;
        this.b = b;
    }
}
